package com.soxing.braindata.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author durango
 * @since 2022-09-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="UserInfo对象", description="")
public class UserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "类型")
    private Integer type;

    @ApiModelProperty(value = "登录用户名")
    private String userNum;

    @ApiModelProperty(value = "登录pk_id")
    private String userPkId;

    @ApiModelProperty(value = "姓名")
    private String userName;

    @ApiModelProperty(value = "性别")
    private String userSex;

    @ApiModelProperty(value = "电话")
    private String userPhone;

    @ApiModelProperty(value = "邮箱")
    private String userEmail;

    @ApiModelProperty(value = "职务")
    private String userPost;

    @ApiModelProperty(value = "中心编码")
    private String siteCode;

    @ApiModelProperty(value = "工号")
    private String jobNum;

    @ApiModelProperty(value = "机构PK_ID")
    private String agencyCode;

    @ApiModelProperty(value = "机构名称")
    private String agencyName;

    @ApiModelProperty(value = "用户状态（1：启用；2：停用；）")
    private Integer state;


}
